package cn.exrick.mapper;

import cn.exrick.pojo.TbResourceCat;
import cn.exrick.pojo.TbResourceCatExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbResourceCatMapper {

    int countByExample(TbResourceCatExample example);

    int deleteByExample(TbResourceCatExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbResourceCat record);

    int insertSelective(TbResourceCat record);

    List<TbResourceCat> selectByExample(TbResourceCatExample example);

    TbResourceCat selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbResourceCat record, @Param("example") TbResourceCatExample example);

    int updateByExample(@Param("record") TbResourceCat record, @Param("example") TbResourceCatExample example);

    int updateByPrimaryKeySelective(TbResourceCat record);

    int updateByPrimaryKey(TbResourceCat record);

    int selectUsedCount(@Param("id") Long id);

}